package com.medicalproject.service;

import com.medical.pojo.User;

import java.util.List;

public interface UserService {

    User login(String username, String password);


    List<User> findAll();

    User login2(String phone, String code);


    void update(String phone, String code);

    void add(User user);

    String sendcode(String phone);
}
